package com.xxx.model.user.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @author Flying
 * @Description
 * @date 14:43 2018-08-24
 **/
@ApiModel("登陆请求参数")
@Data
public class ReqLoginVo {
    @ApiModelProperty(value="手机号")
    @NotBlank(message = "手机号不能为空")
    private String phone;

    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty(value = "验证码")
    private String captcha;
}
